FROM python:3.6
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
COPY pip.conf /root/.pip/pip.conf
COPY . /usr/src/app
RUN pip install --no-cache-dir -r requirements.txt

#RUN pip install -r /usr/src/app/requirements.txt
CMD [ "python", "manage.py", "runserver", "127.0.0.1:8090"]